Skip to content

Bug fixes#9

Merged
Pterjudin merged 2 commits intomainfrom
bug-fixes
Dec 2, 2025
Merged

Bug fixes#9
Pterjudin merged 2 commits intomainfrom
bug-fixes

Conversation

@Pterjudin
Copy link

@Pterjudin Pterjudin commented Nov 30, 2025


Note

Adds Local‑First AI mode with model warm‑up and local optimizations, improves routing with auto fallbacks and telemetry, enhances streaming/timeout and tool handling, updates model capabilities, and adds docs and update banner.

  • AI/Routing:
    • Introduces Local‑First AI setting (cortexide.global.localFirstAI) with router bias and privacy-mode safeguards (modelRouter.ts, config contribution).
    • Adds adaptive router and full telemetry pipeline (service, storage, analytics) to learn from usage.
    • Improves auto-mode fallbacks, error handling, and tool-call synthesis limits in chatThreadService.ts.
  • Performance/Local Models:
    • New model warm-up service and background warm-ups integrated into Autocomplete/Ctrl+K/Apply.
    • Local-provider detection with feature-specific token caps, minimal system prompts, code pruning, and FIM prefix/suffix truncation (convertToLLMMessageService.ts, prompts, edit services).
  • LLM Messaging:
    • SDK client pooling for local providers; localhost detection; per-feature max_tokens; streaming FIM with first-token/overall timeouts; tool-call fallback when unsupported; improved Gemini 429 parsing.
  • Editing/Autocomplete UX:
    • Autocomplete streams partial text; reduced context lines for locals; safer newline limits.
    • Apply/Ctrl+K use local-optimized prompts and pruning; SCM uses compact local commit prompt.
  • Models/Capabilities:
    • Refreshes provider model lists and fallbacks (OpenAI, Anthropic, Gemini, xAI, Mistral, Groq, OpenRouter).
    • Marks OpenAI‑compatible/local providers as tool-capable; reasoning output parsing tweaks.
  • MCP:
    • Config supports string URLs and explicit transport type; smarter HTTP/SSE selection; improved error handling.
  • UI/Infra:
    • Adds update banner contribution; titlebar menubar layout tweaks; command bar/accessor stability fixes; suppresses noisy init errors; Tree‑sitter load failure handled gracefully.
    • Build includes workbench media assets.
  • Docs/Tests:
    • Adds detailed comparison docs and model/edit capability matrix.
    • New tests for local optimizations.

Written by Cursor Bugbot for commit d24748f. This will update automatically on new commits. Configure here.

@Pterjudin Pterjudin merged commit f89d406 into main Dec 2, 2025
5 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant